home *** CD-ROM | disk | FTP | other *** search
/ Duke Screw'em 38D / Duke Screw'em 38D.iso / pc / go.bat < prev    next >
DOS Batch File  |  1996-09-21  |  889b  |  37 lines

  1.  
  2. @echo off
  3. if exist memfail del memfail
  4. if exist pend del pend >nul
  5. memc
  6. if exist memfail goto memfailexit
  7. :uexist
  8. :normalmenu
  9. if exist pend del pend >nul
  10. pnocomp f pdata c %1 %2 %3 %4 %5 >p.out
  11. if errorlevel 1 goto errorexit
  12. if exist pend goto gamefin
  13. goto gamefin
  14. :errorexit
  15. if exist vid.com vid
  16. if not exist vid.com mode co80 >nul
  17. if exist memfail goto memfailexit
  18. echo ...
  19. echo Program Errors have occured.  
  20. echo Save the file p.out which has the error information for us.
  21. type p.out
  22. goto realexit
  23. :memfailexit
  24. @echo ____
  25. echo   Error:  Do to insufficient or improperly configured memory you cannot
  26. echo   run the game.  Please refer to the memory report
  27. echo   below to get more info about what memory you need more of.
  28. @echo ----
  29. copy memfail con
  30. goto realexit
  31. :exit  
  32. if exist vid.com vid
  33. if not exist vid.com mode co80 >nul
  34. :gamefin
  35. :realexit
  36.  
  37.